package com.xhis.system.print.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.xhis.system.print.mapper.PrintMapper;

@Service("printService")
@Scope("prototype")
public class PrintService {

	@Autowired
	private PrintMapper printMapper;

	public Map getPrintInfo(String fid) throws Exception {
		return printMapper.getPrintInfo(fid);
	}

	public List<Map> getPrintListInfo(String fid) throws Exception {
		return printMapper.getPrintListInfo(fid);
	}

	public Map getTotalAMT(String fid) throws Exception{
		return printMapper.getTotalAMT(fid);

	}

}
